
#include <gtk/gtk.h>

#include <eel/eel-vfs-extensions.h>

int 
main (int argc, char* argv[])
{
    gtk_init (&argc, &argv);

    char *uri;
    GList *list;
    GList *l;
    list = NULL;
    list = g_list_append (list, "trash:///");
    list = g_list_append (list, "recent:///");
    list = g_list_append (list, "favorites:///");
    list = g_list_append (list, "network:///");
    list = g_list_append (list, "x-nemo-desktop:///");
    list = g_list_append (list, "x-nemo-search:///");

    for (l = list; l ; l = l->next) {
        uri =  (char*) (l->data);
        g_print ("%s:\n", uri);
        g_print ("eel_uri_is_trash :%d\n", eel_uri_is_trash (uri));
        g_print ("eel_uri_is_recent :%d\n", eel_uri_is_recent (uri));
        g_print ("eel_uri_is_favorite :%d\n", eel_uri_is_favorite (uri));
        g_print ("eel_uri_is_network :%d\n", eel_uri_is_network (uri));
        g_print ("eel_uri_is_desktop :%d\n", eel_uri_is_desktop (uri));
        g_print ("eel_uri_is_search :%d\n", eel_uri_is_search (uri));

        g_print ("eel_make_valid_utf8 :%s\n", eel_make_valid_utf8 (uri));
        g_print ("eel_filename_strip_extension :%s\n\n", eel_filename_strip_extension (uri));
    }

    g_list_free (list);
    g_list_free (l);
    
    return 0;
}
